package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Voice;

//操作桃花传音的api接口
public interface PeachblossomApi {

    //发送桃花传音
    void save(Voice voice);

    //随机查询一条消息
    Voice findByRandomOne(Long userId);

    //根据id将该条语音的状态设置为以捞取
    void updateById(Voice voice);
}
